<?php if (strlen($content_for_layout)) {
    ?><div id="content-page"><?php
    ?><div id="content"><?php
    $page_title_separator = ' :: ';
	    $p_t = '';
	    if (strlen($page_title_separator)) {
	    	$p_t = explode($page_title_separator, $page_title);
	    	$p_t = trim($p_t[count($p_t) - 1]);
	    }
	    if (strlen($p_t)) {
		    ?><h2 class="no-margins"><?php
		    	?><?=h($p_t);?><?php
		    ?></h2><?php
		    ?><br/><?php
	    }
        ?><?=$content_for_layout;?><?php
    ?></div><?php
    ?></div><?php
} ?>
